package com.wish.thriftserver.server;

import com.facebook.swift.service.ThriftServer;

/**
 * 服务启动
 * @author tantexian
 * @since 2017/9/27
 */
public class StartUp {

    public static void main(String[] args) {
        ServerCreator serverCreator = new ServerCreator().invoke();
        ThriftServer server = serverCreator.getServer();
        server.start();
        System.out.println("server is running...");
    }
}
